home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ARexxTools / fpl70.lha / src / makefile.os2 < prev    next >
Encoding:
Makefile  |  1994-02-12  |  3.2 KB  |  74 lines

  1. ########################################################################
  2. #                                                                      #
  3. # fpl.library - A shared library interpreting script langauge.         #
  4. # Copyright (C) 1992-1994 FrexxWare                                    #
  5. # Author: Daniel Stenberg                                              #
  6. #                                                                      #
  7. # This program is free software; you may redistribute for non          #
  8. # commercial purposes only. Commercial programs must have a written    #
  9. # permission from the author to use FPL. FPL is *NOT* public domain!   #
  10. # Any provided source code is only for reference and for assurance     #
  11. # that users should be able to compile FPL on any operating system     #
  12. # he/she wants to use it in!                                           #
  13. #                                                                      #
  14. # You may not change, resource, patch files or in any way reverse      #
  15. # engineer anything in the FPL package.                                #
  16. #                                                                      #
  17. # This program is distributed in the hope that it will be useful,      #
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of       #
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                 #
  20. #                                                                      #
  21. # Daniel Stenberg                                                      #
  22. # Ankdammsgatan 36, 4tr                                                #
  23. # S-171 43 Solna                                                       #
  24. # Sweden                                                               #
  25. #                                                                      #
  26. # FidoNet 2:201/328    email:dast@sth.frontec.se                       #
  27. #                                                                      #
  28. ########################################################################
  29.  
  30. # This is the OS/2 DLL compiling makefile for the IBM C-Set/2 compiler.
  31.  
  32. TARGET = FBBS
  33. WARNINGS = -Wall -W2 -Wtrd- -Wenu- -Wcnd- -Wgen-
  34. CFLAGS = -Q+ -Sa -Gd+ -Ti+ -O+ $(WARNINGS)
  35. LFLAGS = -Q+ -Ti+
  36. DEFINES= -DUNIX -DOS2
  37. LIBS   = FPL.lib
  38.  
  39. OBJS   = $(TARGET).obj user.obj mystring.obj comm.obj os.obj files.obj \
  40.      fplmain.obj 
  41.  
  42. OBJS2  = memory.obj numexpr.obj stat.obj frontend.obj \
  43.          script.obj hash.obj
  44.  
  45. all: fpl.dll $(TARGET).exe
  46.  
  47. .c.obj:
  48.     @cls
  49.     @echo Compiling $*.c
  50.     @icc -C+ $(CFLAGS) $(DEFINES) $*.c
  51.  
  52. fpl.dll: $(OBJS2)
  53.     @echo Linking FPL.DLL
  54.     @icc -FeFPL -Ge- $(LFLAGS) $(OBJS2) FPL.DEF
  55.  
  56. $(TARGET).exe: $(OBJS)
  57.     @echo Linking $(TARGET)
  58.     @icc $(LFLAGS) $(OBJS) $(LIBS)
  59.  
  60. fplmain.obj:  fplmain.c  fplmain.h  stdcode.h
  61. user.obj:     user.c stdcode.h
  62. filesbbs.obj: filesbbs.c filesbbs.h stdcode.h
  63. comm.obj:     comm.c     comm.h     stdcode.h
  64. mystring.obj: mystring.c mystring.h stdcode.h
  65. os.obj:       os.c stdcode.h
  66. files.obj:    files.c files.h colors.h
  67.  
  68. memory.obj:   memory.c
  69. numexpr.obj:  numexpr.c
  70. stat.obj:     stat.c
  71. frontend.obj: frontend.c
  72. script.obj:   script.c
  73. hash.obj:     hash.c
  74.